package com.hj.controller;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.hj.service.impl.ResetMission;
import com.hj.service.impl.SpecialResetMission;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.hj.service.ReSetService;
import com.hj.utils.MultipleDataSource;


@Controller
@RequestMapping("/change")
public class ReSetMission {

	@Autowired
	private ResetMission resetMission;

	@Autowired
	private SpecialResetMission specialResetMission;

	@RequestMapping("/reset")
	public String ReSet(HttpServletRequest req,HttpServletResponse resp){
		resetMission.resetJob();
		return "/MyJsp";
	}
}
